package com.cjb.cloudsystem.vo;

import com.cjb.common.query.Query;
import com.cjb.common.util.DateUtils;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 设备管理
*
* @author 陈锦斌 2213859123@qq.com
* @since 1.0.0 2023-11-05
*/
@Data
@Schema(description = "设备管理")
public class DeviceVO extends Query implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "设备ID")
	private Long deviceId;

	@Schema(description = "设备名字")
	private String deviceName;

	@Schema(description = "设备所有者")
	private String deviceOwner;

	@Schema(description = "设备编号")
	private String deviceNumber;

	@Schema(description = "删除标识 0：正常 1：删除")
	private Integer deleted;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@Schema(description = "更新时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;

	@Schema(description = "创建者")
	private String createor;

	@Schema(description = "更新者")
	private String updater;


}